Skip to content

Conversation

huangjeff5
Copy link
Contributor

No description provided.


// Emit an initial chunk with just the traceId
try {
if (options?.onChunk) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't think this approach will work... for one, what if its non-streaming call.
I think action.run needs another param (in ActionRunOptions), a callback of some sort, that will be called with the trace id when action starts. Then in the reflection api you can send the trace id in the headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants